package abstractions;

import java.util.HashMap;

public class Password {
	public static HashMap<String, String> passwd;		// <logname, password>

	// returns true if user is validated, flase o.w.
	// Pre: logname is not null
	boolean validate(String logname, String password) {
		return password.equals(passwd.get(logname));
	}

	void readPasswd() {

	}

	void writePasswd() {

	}
}